package com.example.nacosclientrabbit.entity;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Map;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Message implements Serializable{

    private long id;

    private boolean isSync;

    private int type;

    private String url;

    private Map<String, Object> body;

    private String routingKey;

    private String exchange;

}
